package com.itheima.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

@Data
public class RoleResult<T> implements Serializable {
    @ApiModelProperty(value = "响应状态码")
    private Integer code;
    @ApiModelProperty(value = "响应信息")
    private String msg;
    @ApiModelProperty(value = "响应数据")
    private T data;
    @ApiModelProperty(value = "菜单数据")
    private List menus;
    @ApiModelProperty("菜单权限id集合")
    private List<Long> checkedKeys;

}
